import request from "@/api/index"
//获取轮播图数据
export const BannerList = ()=>request({url:'/banner',method:'get'})
//发送注册验证码
export const VerificationList = (phone)=>request({url:'/captcha/sent',params:{phone},method:'get'}) 
//验证验证码是否正确
export const VerifycorrectList = ({phone,captcha})=>request({url:'/captcha/verify',params:{phone,captcha},method:'get'})
//注册网易云账号
export const RegisteredaccountList = ({captcha,phone,password,nickname})=>request({url:"/register/cellphone",params:{captcha,phone,password,nickname},method:'get'})
//登录账号
export const LoginaccountList = ({phone,password})=>request({url:'/login/cellphone',params:{phone,password},method:'get'})
//获取每日推荐歌曲
export const Recommendedsongsoftheday = () =>request({url:'/recommend/songs',method:'get'})
//获取每日推荐歌单
export const DailyrecommendedsongList = () =>request({url:'/recommend/resource',method:'get'})
//独家放送(入口列表)
export const ExclusivebroadcastentryList = () => request({url:'/personalized/privatecontent',method:'get'})
//推荐最新新音乐
export const RecommendnewmusicList = (limit) =>request({url:'/personalized/newsong',params:{limit}, method:'get'})
//推荐mv
export const RecommendedmvList = () =>request({url:'/personalized/mv',method:'get'})
//获取精品歌单
export const BoutiquesongList = (cat) =>request({url:'/top/playlist/highquality',params:{cat}, method:'get'})
//歌单分类
export const SonglistClassification =() =>request({url:'/playlist/catlist',method:'get'})
//歌单 ( 网友精选碟 )
export const SelectednetizensList =(cat) =>request({url:'/top/playlist',params:{cat}, method:'get'})
//热门歌单分类
export const PopularsongList =() =>request({url:'/playlist/hot',method:'get'})
//精品歌单标签列表
export const SonglistlabelList =() =>request({url:'/playlist/highquality/tags',method:'get'})
//获取歌单详情
export const SonglistDetails =(id) =>request({url:'/playlist/detail',params:{id},method:'get'})
//所有榜单内容摘要
export const AllcontentsList =() =>request({url:'/toplist/detail',method:'get'})
//所有榜单
export const AlllistsList =() =>request({url:'/toplist',method:'get'})
//歌单详情动态
export const Songlistdetailsdynamic = (id) =>request({url:'/playlist/detail/dynamic',params:{id},method:'get'})
//获取歌单所有歌曲
export const AllthesongsinthesongList =(id) =>request({url:'/playlist/track/all',params:{id},method:'get'})
//歌手分类列表
export const SingerclassificationList =({limit,type,area,initial}) =>request({url:'/artist/list',params:{limit,type,area,initial}, method:'get'})
//新歌速递
export const Newsongexpress =(type) =>request({url:'/top/song',params:{type},method:'get'})
//热门新碟上架
export const XindieshangjiaList =(area) =>request({url:'/top/album',params:{area},method:'get'})
//全部新碟
export const AllnewdiscsList =({limit,area}) =>request({url:'/album/new',params:{limit,area},method:'get'})
//获取歌手详情
export const Getsingerdetails =(id) => request({url:'/artists',params:{id},method:'get'})
//获取歌手专辑
export const Getthesingeralbum = ({id,limit}) =>request({url:'/artist/album',params:{id,limit},method:'get'})
//获取歌手MV
export const Getsingermvlist = ({id,limit}) =>request({url:'/artist/mv',params:{id,limit},method:'get'})
//获取歌手描述
export const Getthesingerdescription = (id) =>request({url:'/artist/desc',params:{id},method:'get'})
//获取相似歌手
export const GetasimilarsingerList =(id) =>request({url:'/simi/artist',params:{id},method:'get'})
//歌单收藏者
export const Songlistcollector = ({id,limit}) =>request({url:'/playlist/subscribers',params:{id,limit},method:'get'})
//歌单评论
export const Songlistreview = ({id,limit,offset}) =>request({url:'/comment/playlist',params:{id,limit,offset},method:'get'})
//获取音乐url
export const MusicurlList = (id) =>request({url:'/song/url',params:{id},method:'get'})
//获取视频标签列表
export const Getvideotaglist = () =>request({url:'/video/group/list',method:'get'})
//获取全部视频列表
export const Getalistofallvideos =(offset) => request({url:'/video/timeline/all',params:{offset},method:'get'})
//获取视频标签/分类下的视频
export const Getvideosundervideotagscategories =({id,offset}) =>request({url:'/video/group',params:{id,offset},method:'get'})
//热搜列表(详细)
export const HotSearchListDetailed = () => request({url:'/search/hot/detail',method:'get'})
//搜索建议
export const SearchsuggestionsList = (keywords) => request({url:'/search/suggest',params:{keywords},method:'get'})
//搜索详情
export const SearchdetailsList = ({keywords,limit,offset,type}) =>request({url:'/cloudsearch',params:{keywords,limit,offset,type},method:'get'})
//获取专辑内容
export const Getalbumcontent = (id) =>request({url:'/album',params:{id},method:'get'})
//专辑动态信息
export const Albumdynamicinformation = (id) =>request({url:'/album/detail/dynamic',params:{id},method:'get'})
//专辑评论
export const Albumreviewlist = ({id,limit,offset}) =>request({url:'/comment/album',params:{id,limit,offset},method:'get'})